Optimal. Leaf size=51 \[ -\frac{3 a^2 \log \left (a \sqrt [3]{x}+b\right )}{b^3}+\frac{a^2 \log (x)}{b^3}+\frac{3 a}{b^2 \sqrt [3]{x}}-\frac{3}{2 b x^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0309035, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {263, 266, 44} \[ -\frac{3 a^2 \log \left (a \sqrt [3]{x}+b\right )}{b^3}+\frac{a^2 \log (x)}{b^3}+\frac{3 a}{b^2 \sqrt [3]{x}}-\frac{3}{2 b x^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 263
Rule 266
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{\left (a+\frac{b}{\sqrt [3]{x}}\right ) x^2} \, dx &=\int \frac{1}{\left (b+a \sqrt [3]{x}\right ) x^{5/3}} \, dx\\ &=3 \operatorname{Subst}\left (\int \frac{1}{x^3 (b+a x)} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \operatorname{Subst}\left (\int \left (\frac{1}{b x^3}-\frac{a}{b^2 x^2}+\frac{a^2}{b^3 x}-\frac{a^3}{b^3 (b+a x)}\right ) \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac{3}{2 b x^{2/3}}+\frac{3 a}{b^2 \sqrt [3]{x}}-\frac{3 a^2 \log \left (b+a \sqrt [3]{x}\right )}{b^3}+\frac{a^2 \log (x)}{b^3}\\ \end{align*}
Mathematica [A] time = 0.0383975, size = 48, normalized size = 0.94 \[ \frac{-6 a^2 \log \left (a \sqrt [3]{x}+b\right )+2 a^2 \log (x)-\frac{3 b \left (b-2 a \sqrt [3]{x}\right )}{x^{2/3}}}{2 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 44, normalized size = 0.9 \begin{align*} -{\frac{3}{2\,b}{x}^{-{\frac{2}{3}}}}+3\,{\frac{a}{{b}^{2}\sqrt [3]{x}}}-3\,{\frac{{a}^{2}\ln \left ( b+a\sqrt [3]{x} \right ) }{{b}^{3}}}+{\frac{{a}^{2}\ln \left ( x \right ) }{{b}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.954732, size = 59, normalized size = 1.16 \begin{align*} -\frac{3 \, a^{2} \log \left (a + \frac{b}{x^{\frac{1}{3}}}\right )}{b^{3}} - \frac{3 \,{\left (a + \frac{b}{x^{\frac{1}{3}}}\right )}^{2}}{2 \, b^{3}} + \frac{6 \,{\left (a + \frac{b}{x^{\frac{1}{3}}}\right )} a}{b^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48734, size = 130, normalized size = 2.55 \begin{align*} -\frac{3 \,{\left (2 \, a^{2} x \log \left (a x^{\frac{1}{3}} + b\right ) - 2 \, a^{2} x \log \left (x^{\frac{1}{3}}\right ) - 2 \, a b x^{\frac{2}{3}} + b^{2} x^{\frac{1}{3}}\right )}}{2 \, b^{3} x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.1679, size = 73, normalized size = 1.43 \begin{align*} \begin{cases} \frac{\tilde{\infty }}{x^{\frac{2}{3}}} & \text{for}\: a = 0 \wedge b = 0 \\- \frac{3}{2 b x^{\frac{2}{3}}} & \text{for}\: a = 0 \\- \frac{1}{a x} & \text{for}\: b = 0 \\\frac{a^{2} \log{\left (x \right )}}{b^{3}} - \frac{3 a^{2} \log{\left (\sqrt [3]{x} + \frac{b}{a} \right )}}{b^{3}} + \frac{3 a}{b^{2} \sqrt [3]{x}} - \frac{3}{2 b x^{\frac{2}{3}}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19898, size = 66, normalized size = 1.29 \begin{align*} -\frac{3 \, a^{2} \log \left ({\left | a x^{\frac{1}{3}} + b \right |}\right )}{b^{3}} + \frac{a^{2} \log \left ({\left | x \right |}\right )}{b^{3}} + \frac{3 \,{\left (2 \, a b x^{\frac{1}{3}} - b^{2}\right )}}{2 \, b^{3} x^{\frac{2}{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]